1 module hip.jni.android.keycodes;
2 
3 /*
4  * Copyright (C) 2010 The Android Open Source Project
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 
19 /**
20  * @addtogroup Input
21  * @{
22  */
23 
24 /**
25  * @file keycodes.h
26  */
27 
28 
29 /******************************************************************
30  *
31  * IMPORTANT NOTICE:
32  *
33  *   This file is part of Android's set of stable system headers
34  *   exposed by the Android NDK (Native Development Kit).
35  *
36  *   Third-party source AND binary code relies on the definitions
37  *   here to be FROZEN ON ALL UPCOMING PLATFORM RELEASES.
38  *
39  *   - DO NOT MODIFY ENUMS (EXCEPT IF YOU ADD NEW 32-BIT VALUES)
40  *   - DO NOT MODIFY CONSTANTS OR FUNCTIONAL MACROS
41  *   - DO NOT CHANGE THE SIGNATURE OF FUNCTIONS IN ANY WAY
42  *   - DO NOT CHANGE THE LAYOUT OR SIZE OF STRUCTURES
43  */
44 
45 extern(C):
46 
47 /**
48  * Key codes.
49  */
50 enum {
51     /** Unknown key code. */
52     AKEYCODE_UNKNOWN         = 0,
53     /** Soft Left key.
54      * Usually situated below the display on phones and used as a multi-function
55      * feature key for selecting a software defined function shown on the bottom left
56      * of the display. */
57     AKEYCODE_SOFT_LEFT       = 1,
58     /** Soft Right key.
59      * Usually situated below the display on phones and used as a multi-function
60      * feature key for selecting a software defined function shown on the bottom right
61      * of the display. */
62     AKEYCODE_SOFT_RIGHT      = 2,
63     /** Home key.
64      * This key is handled by the framework and is never delivered to applications. */
65     AKEYCODE_HOME            = 3,
66     /** Back key. */
67     AKEYCODE_BACK            = 4,
68     /** Call key. */
69     AKEYCODE_CALL            = 5,
70     /** End Call key. */
71     AKEYCODE_ENDCALL         = 6,
72     /** '0' key. */
73     AKEYCODE_0               = 7,
74     /** '1' key. */
75     AKEYCODE_1               = 8,
76     /** '2' key. */
77     AKEYCODE_2               = 9,
78     /** '3' key. */
79     AKEYCODE_3               = 10,
80     /** '4' key. */
81     AKEYCODE_4               = 11,
82     /** '5' key. */
83     AKEYCODE_5               = 12,
84     /** '6' key. */
85     AKEYCODE_6               = 13,
86     /** '7' key. */
87     AKEYCODE_7               = 14,
88     /** '8' key. */
89     AKEYCODE_8               = 15,
90     /** '9' key. */
91     AKEYCODE_9               = 16,
92     /** '*' key. */
93     AKEYCODE_STAR            = 17,
94     /** '#' key. */
95     AKEYCODE_POUND           = 18,
96     /** Directional Pad Up key.
97      * May also be synthesized from trackball motions. */
98     AKEYCODE_DPAD_UP         = 19,
99     /** Directional Pad Down key.
100      * May also be synthesized from trackball motions. */
101     AKEYCODE_DPAD_DOWN       = 20,
102     /** Directional Pad Left key.
103      * May also be synthesized from trackball motions. */
104     AKEYCODE_DPAD_LEFT       = 21,
105     /** Directional Pad Right key.
106      * May also be synthesized from trackball motions. */
107     AKEYCODE_DPAD_RIGHT      = 22,
108     /** Directional Pad Center key.
109      * May also be synthesized from trackball motions. */
110     AKEYCODE_DPAD_CENTER     = 23,
111     /** Volume Up key.
112      * Adjusts the speaker volume up. */
113     AKEYCODE_VOLUME_UP       = 24,
114     /** Volume Down key.
115      * Adjusts the speaker volume down. */
116     AKEYCODE_VOLUME_DOWN     = 25,
117     /** Power key. */
118     AKEYCODE_POWER           = 26,
119     /** Camera key.
120      * Used to launch a camera application or take pictures. */
121     AKEYCODE_CAMERA          = 27,
122     /** Clear key. */
123     AKEYCODE_CLEAR           = 28,
124     /** 'A' key. */
125     AKEYCODE_A               = 29,
126     /** 'B' key. */
127     AKEYCODE_B               = 30,
128     /** 'C' key. */
129     AKEYCODE_C               = 31,
130     /** 'D' key. */
131     AKEYCODE_D               = 32,
132     /** 'E' key. */
133     AKEYCODE_E               = 33,
134     /** 'F' key. */
135     AKEYCODE_F               = 34,
136     /** 'G' key. */
137     AKEYCODE_G               = 35,
138     /** 'H' key. */
139     AKEYCODE_H               = 36,
140     /** 'I' key. */
141     AKEYCODE_I               = 37,
142     /** 'J' key. */
143     AKEYCODE_J               = 38,
144     /** 'K' key. */
145     AKEYCODE_K               = 39,
146     /** 'L' key. */
147     AKEYCODE_L               = 40,
148     /** 'M' key. */
149     AKEYCODE_M               = 41,
150     /** 'N' key. */
151     AKEYCODE_N               = 42,
152     /** 'O' key. */
153     AKEYCODE_O               = 43,
154     /** 'P' key. */
155     AKEYCODE_P               = 44,
156     /** 'Q' key. */
157     AKEYCODE_Q               = 45,
158     /** 'R' key. */
159     AKEYCODE_R               = 46,
160     /** 'S' key. */
161     AKEYCODE_S               = 47,
162     /** 'T' key. */
163     AKEYCODE_T               = 48,
164     /** 'U' key. */
165     AKEYCODE_U               = 49,
166     /** 'V' key. */
167     AKEYCODE_V               = 50,
168     /** 'W' key. */
169     AKEYCODE_W               = 51,
170     /** 'X' key. */
171     AKEYCODE_X               = 52,
172     /** 'Y' key. */
173     AKEYCODE_Y               = 53,
174     /** 'Z' key. */
175     AKEYCODE_Z               = 54,
176     /** ',' key. */
177     AKEYCODE_COMMA           = 55,
178     /** '.' key. */
179     AKEYCODE_PERIOD          = 56,
180     /** Left Alt modifier key. */
181     AKEYCODE_ALT_LEFT        = 57,
182     /** Right Alt modifier key. */
183     AKEYCODE_ALT_RIGHT       = 58,
184     /** Left Shift modifier key. */
185     AKEYCODE_SHIFT_LEFT      = 59,
186     /** Right Shift modifier key. */
187     AKEYCODE_SHIFT_RIGHT     = 60,
188     /** Tab key. */
189     AKEYCODE_TAB             = 61,
190     /** Space key. */
191     AKEYCODE_SPACE           = 62,
192     /** Symbol modifier key.
193      * Used to enter alternate symbols. */
194     AKEYCODE_SYM             = 63,
195     /** Explorer special function key.
196      * Used to launch a browser application. */
197     AKEYCODE_EXPLORER        = 64,
198     /** Envelope special function key.
199      * Used to launch a mail application. */
200     AKEYCODE_ENVELOPE        = 65,
201     /** Enter key. */
202     AKEYCODE_ENTER           = 66,
203     /** Backspace key.
204      * Deletes characters before the insertion point, unlike {@link AKEYCODE_FORWARD_DEL}. */
205     AKEYCODE_DEL             = 67,
206     /** '`' (backtick) key. */
207     AKEYCODE_GRAVE           = 68,
208     /** '-'. */
209     AKEYCODE_MINUS           = 69,
210     /** '=' key. */
211     AKEYCODE_EQUALS          = 70,
212     /** '[' key. */
213     AKEYCODE_LEFT_BRACKET    = 71,
214     /** ']' key. */
215     AKEYCODE_RIGHT_BRACKET   = 72,
216     /** '\' key. */
217     AKEYCODE_BACKSLASH       = 73,
218     /** ';' key. */
219     AKEYCODE_SEMICOLON       = 74,
220     /** ''' (apostrophe) key. */
221     AKEYCODE_APOSTROPHE      = 75,
222     /** '/' key. */
223     AKEYCODE_SLASH           = 76,
224     /** '@' key. */
225     AKEYCODE_AT              = 77,
226     /** Number modifier key.
227      * Used to enter numeric symbols.
228      * This key is not {@link AKEYCODE_NUM_LOCK}; it is more like {@link AKEYCODE_ALT_LEFT}. */
229     AKEYCODE_NUM             = 78,
230     /** Headset Hook key.
231      * Used to hang up calls and stop media. */
232     AKEYCODE_HEADSETHOOK     = 79,
233     /** Camera Focus key.
234      * Used to focus the camera. */
235     AKEYCODE_FOCUS           = 80,
236     /** '+' key. */
237     AKEYCODE_PLUS            = 81,
238     /** Menu key. */
239     AKEYCODE_MENU            = 82,
240     /** Notification key. */
241     AKEYCODE_NOTIFICATION    = 83,
242     /** Search key. */
243     AKEYCODE_SEARCH          = 84,
244     /** Play/Pause media key. */
245     AKEYCODE_MEDIA_PLAY_PAUSE= 85,
246     /** Stop media key. */
247     AKEYCODE_MEDIA_STOP      = 86,
248     /** Play Next media key. */
249     AKEYCODE_MEDIA_NEXT      = 87,
250     /** Play Previous media key. */
251     AKEYCODE_MEDIA_PREVIOUS  = 88,
252     /** Rewind media key. */
253     AKEYCODE_MEDIA_REWIND    = 89,
254     /** Fast Forward media key. */
255     AKEYCODE_MEDIA_FAST_FORWARD = 90,
256     /** Mute key.
257      * Mutes the microphone, unlike {@link AKEYCODE_VOLUME_MUTE}. */
258     AKEYCODE_MUTE            = 91,
259     /** Page Up key. */
260     AKEYCODE_PAGE_UP         = 92,
261     /** Page Down key. */
262     AKEYCODE_PAGE_DOWN       = 93,
263     /** Picture Symbols modifier key.
264      * Used to switch symbol sets (Emoji, Kao-moji). */
265     AKEYCODE_PICTSYMBOLS     = 94,
266     /** Switch Charset modifier key.
267      * Used to switch character sets (Kanji, Katakana). */
268     AKEYCODE_SWITCH_CHARSET  = 95,
269     /** A Button key.
270      * On a game controller, the A button should be either the button labeled A
271      * or the first button on the bottom row of controller buttons. */
272     AKEYCODE_BUTTON_A        = 96,
273     /** B Button key.
274      * On a game controller, the B button should be either the button labeled B
275      * or the second button on the bottom row of controller buttons. */
276     AKEYCODE_BUTTON_B        = 97,
277     /** C Button key.
278      * On a game controller, the C button should be either the button labeled C
279      * or the third button on the bottom row of controller buttons. */
280     AKEYCODE_BUTTON_C        = 98,
281     /** X Button key.
282      * On a game controller, the X button should be either the button labeled X
283      * or the first button on the upper row of controller buttons. */
284     AKEYCODE_BUTTON_X        = 99,
285     /** Y Button key.
286      * On a game controller, the Y button should be either the button labeled Y
287      * or the second button on the upper row of controller buttons. */
288     AKEYCODE_BUTTON_Y        = 100,
289     /** Z Button key.
290      * On a game controller, the Z button should be either the button labeled Z
291      * or the third button on the upper row of controller buttons. */
292     AKEYCODE_BUTTON_Z        = 101,
293     /** L1 Button key.
294      * On a game controller, the L1 button should be either the button labeled L1 (or L)
295      * or the top left trigger button. */
296     AKEYCODE_BUTTON_L1       = 102,
297     /** R1 Button key.
298      * On a game controller, the R1 button should be either the button labeled R1 (or R)
299      * or the top right trigger button. */
300     AKEYCODE_BUTTON_R1       = 103,
301     /** L2 Button key.
302      * On a game controller, the L2 button should be either the button labeled L2
303      * or the bottom left trigger button. */
304     AKEYCODE_BUTTON_L2       = 104,
305     /** R2 Button key.
306      * On a game controller, the R2 button should be either the button labeled R2
307      * or the bottom right trigger button. */
308     AKEYCODE_BUTTON_R2       = 105,
309     /** Left Thumb Button key.
310      * On a game controller, the left thumb button indicates that the left (or only)
311      * joystick is pressed. */
312     AKEYCODE_BUTTON_THUMBL   = 106,
313     /** Right Thumb Button key.
314      * On a game controller, the right thumb button indicates that the right
315      * joystick is pressed. */
316     AKEYCODE_BUTTON_THUMBR   = 107,
317     /** Start Button key.
318      * On a game controller, the button labeled Start. */
319     AKEYCODE_BUTTON_START    = 108,
320     /** Select Button key.
321      * On a game controller, the button labeled Select. */
322     AKEYCODE_BUTTON_SELECT   = 109,
323     /** Mode Button key.
324      * On a game controller, the button labeled Mode. */
325     AKEYCODE_BUTTON_MODE     = 110,
326     /** Escape key. */
327     AKEYCODE_ESCAPE          = 111,
328     /** Forward Delete key.
329      * Deletes characters ahead of the insertion point, unlike {@link AKEYCODE_DEL}. */
330     AKEYCODE_FORWARD_DEL     = 112,
331     /** Left Control modifier key. */
332     AKEYCODE_CTRL_LEFT       = 113,
333     /** Right Control modifier key. */
334     AKEYCODE_CTRL_RIGHT      = 114,
335     /** Caps Lock key. */
336     AKEYCODE_CAPS_LOCK       = 115,
337     /** Scroll Lock key. */
338     AKEYCODE_SCROLL_LOCK     = 116,
339     /** Left Meta modifier key. */
340     AKEYCODE_META_LEFT       = 117,
341     /** Right Meta modifier key. */
342     AKEYCODE_META_RIGHT      = 118,
343     /** Function modifier key. */
344     AKEYCODE_FUNCTION        = 119,
345     /** System Request / Print Screen key. */
346     AKEYCODE_SYSRQ           = 120,
347     /** Break / Pause key. */
348     AKEYCODE_BREAK           = 121,
349     /** Home Movement key.
350      * Used for scrolling or moving the cursor around to the start of a line
351      * or to the top of a list. */
352     AKEYCODE_MOVE_HOME       = 122,
353     /** End Movement key.
354      * Used for scrolling or moving the cursor around to the end of a line
355      * or to the bottom of a list. */
356     AKEYCODE_MOVE_END        = 123,
357     /** Insert key.
358      * Toggles insert / overwrite edit mode. */
359     AKEYCODE_INSERT          = 124,
360     /** Forward key.
361      * Navigates forward in the history stack.  Complement of {@link AKEYCODE_BACK}. */
362     AKEYCODE_FORWARD         = 125,
363     /** Play media key. */
364     AKEYCODE_MEDIA_PLAY      = 126,
365     /** Pause media key. */
366     AKEYCODE_MEDIA_PAUSE     = 127,
367     /** Close media key.
368      * May be used to close a CD tray, for example. */
369     AKEYCODE_MEDIA_CLOSE     = 128,
370     /** Eject media key.
371      * May be used to eject a CD tray, for example. */
372     AKEYCODE_MEDIA_EJECT     = 129,
373     /** Record media key. */
374     AKEYCODE_MEDIA_RECORD    = 130,
375     /** F1 key. */
376     AKEYCODE_F1              = 131,
377     /** F2 key. */
378     AKEYCODE_F2              = 132,
379     /** F3 key. */
380     AKEYCODE_F3              = 133,
381     /** F4 key. */
382     AKEYCODE_F4              = 134,
383     /** F5 key. */
384     AKEYCODE_F5              = 135,
385     /** F6 key. */
386     AKEYCODE_F6              = 136,
387     /** F7 key. */
388     AKEYCODE_F7              = 137,
389     /** F8 key. */
390     AKEYCODE_F8              = 138,
391     /** F9 key. */
392     AKEYCODE_F9              = 139,
393     /** F10 key. */
394     AKEYCODE_F10             = 140,
395     /** F11 key. */
396     AKEYCODE_F11             = 141,
397     /** F12 key. */
398     AKEYCODE_F12             = 142,
399     /** Num Lock key.
400      * This is the Num Lock key; it is different from {@link AKEYCODE_NUM}.
401      * This key alters the behavior of other keys on the numeric keypad. */
402     AKEYCODE_NUM_LOCK        = 143,
403     /** Numeric keypad '0' key. */
404     AKEYCODE_NUMPAD_0        = 144,
405     /** Numeric keypad '1' key. */
406     AKEYCODE_NUMPAD_1        = 145,
407     /** Numeric keypad '2' key. */
408     AKEYCODE_NUMPAD_2        = 146,
409     /** Numeric keypad '3' key. */
410     AKEYCODE_NUMPAD_3        = 147,
411     /** Numeric keypad '4' key. */
412     AKEYCODE_NUMPAD_4        = 148,
413     /** Numeric keypad '5' key. */
414     AKEYCODE_NUMPAD_5        = 149,
415     /** Numeric keypad '6' key. */
416     AKEYCODE_NUMPAD_6        = 150,
417     /** Numeric keypad '7' key. */
418     AKEYCODE_NUMPAD_7        = 151,
419     /** Numeric keypad '8' key. */
420     AKEYCODE_NUMPAD_8        = 152,
421     /** Numeric keypad '9' key. */
422     AKEYCODE_NUMPAD_9        = 153,
423     /** Numeric keypad '/' key (for division). */
424     AKEYCODE_NUMPAD_DIVIDE   = 154,
425     /** Numeric keypad '*' key (for multiplication). */
426     AKEYCODE_NUMPAD_MULTIPLY = 155,
427     /** Numeric keypad '-' key (for subtraction). */
428     AKEYCODE_NUMPAD_SUBTRACT = 156,
429     /** Numeric keypad '+' key (for addition). */
430     AKEYCODE_NUMPAD_ADD      = 157,
431     /** Numeric keypad '.' key (for decimals or digit grouping). */
432     AKEYCODE_NUMPAD_DOT      = 158,
433     /** Numeric keypad ',' key (for decimals or digit grouping). */
434     AKEYCODE_NUMPAD_COMMA    = 159,
435     /** Numeric keypad Enter key. */
436     AKEYCODE_NUMPAD_ENTER    = 160,
437     /** Numeric keypad '=' key. */
438     AKEYCODE_NUMPAD_EQUALS   = 161,
439     /** Numeric keypad '(' key. */
440     AKEYCODE_NUMPAD_LEFT_PAREN = 162,
441     /** Numeric keypad ')' key. */
442     AKEYCODE_NUMPAD_RIGHT_PAREN = 163,
443     /** Volume Mute key.
444      * Mutes the speaker, unlike {@link AKEYCODE_MUTE}.
445      * This key should normally be implemented as a toggle such that the first press
446      * mutes the speaker and the second press restores the original volume. */
447     AKEYCODE_VOLUME_MUTE     = 164,
448     /** Info key.
449      * Common on TV remotes to show additional information related to what is
450      * currently being viewed. */
451     AKEYCODE_INFO            = 165,
452     /** Channel up key.
453      * On TV remotes, increments the television channel. */
454     AKEYCODE_CHANNEL_UP      = 166,
455     /** Channel down key.
456      * On TV remotes, decrements the television channel. */
457     AKEYCODE_CHANNEL_DOWN    = 167,
458     /** Zoom in key. */
459     AKEYCODE_ZOOM_IN         = 168,
460     /** Zoom out key. */
461     AKEYCODE_ZOOM_OUT        = 169,
462     /** TV key.
463      * On TV remotes, switches to viewing live TV. */
464     AKEYCODE_TV              = 170,
465     /** Window key.
466      * On TV remotes, toggles picture-in-picture mode or other windowing functions. */
467     AKEYCODE_WINDOW          = 171,
468     /** Guide key.
469      * On TV remotes, shows a programming guide. */
470     AKEYCODE_GUIDE           = 172,
471     /** DVR key.
472      * On some TV remotes, switches to a DVR mode for recorded shows. */
473     AKEYCODE_DVR             = 173,
474     /** Bookmark key.
475      * On some TV remotes, bookmarks content or web pages. */
476     AKEYCODE_BOOKMARK        = 174,
477     /** Toggle captions key.
478      * Switches the mode for closed-captioning text, for example during television shows. */
479     AKEYCODE_CAPTIONS        = 175,
480     /** Settings key.
481      * Starts the system settings activity. */
482     AKEYCODE_SETTINGS        = 176,
483     /** TV power key.
484      * On TV remotes, toggles the power on a television screen. */
485     AKEYCODE_TV_POWER        = 177,
486     /** TV input key.
487      * On TV remotes, switches the input on a television screen. */
488     AKEYCODE_TV_INPUT        = 178,
489     /** Set-top-box power key.
490      * On TV remotes, toggles the power on an external Set-top-box. */
491     AKEYCODE_STB_POWER       = 179,
492     /** Set-top-box input key.
493      * On TV remotes, switches the input mode on an external Set-top-box. */
494     AKEYCODE_STB_INPUT       = 180,
495     /** A/V Receiver power key.
496      * On TV remotes, toggles the power on an external A/V Receiver. */
497     AKEYCODE_AVR_POWER       = 181,
498     /** A/V Receiver input key.
499      * On TV remotes, switches the input mode on an external A/V Receiver. */
500     AKEYCODE_AVR_INPUT       = 182,
501     /** Red "programmable" key.
502      * On TV remotes, acts as a contextual/programmable key. */
503     AKEYCODE_PROG_RED        = 183,
504     /** Green "programmable" key.
505      * On TV remotes, actsas a contextual/programmable key. */
506     AKEYCODE_PROG_GREEN      = 184,
507     /** Yellow "programmable" key.
508      * On TV remotes, acts as a contextual/programmable key. */
509     AKEYCODE_PROG_YELLOW     = 185,
510     /** Blue "programmable" key.
511      * On TV remotes, acts as a contextual/programmable key. */
512     AKEYCODE_PROG_BLUE       = 186,
513     /** App switch key.
514      * Should bring up the application switcher dialog. */
515     AKEYCODE_APP_SWITCH      = 187,
516     /** Generic Game Pad Button #1.*/
517     AKEYCODE_BUTTON_1        = 188,
518     /** Generic Game Pad Button #2.*/
519     AKEYCODE_BUTTON_2        = 189,
520     /** Generic Game Pad Button #3.*/
521     AKEYCODE_BUTTON_3        = 190,
522     /** Generic Game Pad Button #4.*/
523     AKEYCODE_BUTTON_4        = 191,
524     /** Generic Game Pad Button #5.*/
525     AKEYCODE_BUTTON_5        = 192,
526     /** Generic Game Pad Button #6.*/
527     AKEYCODE_BUTTON_6        = 193,
528     /** Generic Game Pad Button #7.*/
529     AKEYCODE_BUTTON_7        = 194,
530     /** Generic Game Pad Button #8.*/
531     AKEYCODE_BUTTON_8        = 195,
532     /** Generic Game Pad Button #9.*/
533     AKEYCODE_BUTTON_9        = 196,
534     /** Generic Game Pad Button #10.*/
535     AKEYCODE_BUTTON_10       = 197,
536     /** Generic Game Pad Button #11.*/
537     AKEYCODE_BUTTON_11       = 198,
538     /** Generic Game Pad Button #12.*/
539     AKEYCODE_BUTTON_12       = 199,
540     /** Generic Game Pad Button #13.*/
541     AKEYCODE_BUTTON_13       = 200,
542     /** Generic Game Pad Button #14.*/
543     AKEYCODE_BUTTON_14       = 201,
544     /** Generic Game Pad Button #15.*/
545     AKEYCODE_BUTTON_15       = 202,
546     /** Generic Game Pad Button #16.*/
547     AKEYCODE_BUTTON_16       = 203,
548     /** Language Switch key.
549      * Toggles the current input language such as switching between English and Japanese on
550      * a QWERTY keyboard.  On some devices, the same function may be performed by
551      * pressing Shift+Spacebar. */
552     AKEYCODE_LANGUAGE_SWITCH = 204,
553     /** Manner Mode key.
554      * Toggles silent or vibrate mode on and off to make the device behave more politely
555      * in certain settings such as on a crowded train.  On some devices, the key may only
556      * operate when long-pressed. */
557     AKEYCODE_MANNER_MODE     = 205,
558     /** 3D Mode key.
559      * Toggles the display between 2D and 3D mode. */
560     AKEYCODE_3D_MODE         = 206,
561     /** Contacts special function key.
562      * Used to launch an address book application. */
563     AKEYCODE_CONTACTS        = 207,
564     /** Calendar special function key.
565      * Used to launch a calendar application. */
566     AKEYCODE_CALENDAR        = 208,
567     /** Music special function key.
568      * Used to launch a music player application. */
569     AKEYCODE_MUSIC           = 209,
570     /** Calculator special function key.
571      * Used to launch a calculator application. */
572     AKEYCODE_CALCULATOR      = 210,
573     /** Japanese full-width / half-width key. */
574     AKEYCODE_ZENKAKU_HANKAKU = 211,
575     /** Japanese alphanumeric key. */
576     AKEYCODE_EISU            = 212,
577     /** Japanese non-conversion key. */
578     AKEYCODE_MUHENKAN        = 213,
579     /** Japanese conversion key. */
580     AKEYCODE_HENKAN          = 214,
581     /** Japanese katakana / hiragana key. */
582     AKEYCODE_KATAKANA_HIRAGANA = 215,
583     /** Japanese Yen key. */
584     AKEYCODE_YEN             = 216,
585     /** Japanese Ro key. */
586     AKEYCODE_RO              = 217,
587     /** Japanese kana key. */
588     AKEYCODE_KANA            = 218,
589     /** Assist key.
590      * Launches the global assist activity.  Not delivered to applications. */
591     AKEYCODE_ASSIST          = 219,
592     /** Brightness Down key.
593      * Adjusts the screen brightness down. */
594     AKEYCODE_BRIGHTNESS_DOWN = 220,
595     /** Brightness Up key.
596      * Adjusts the screen brightness up. */
597     AKEYCODE_BRIGHTNESS_UP   = 221,
598     /** Audio Track key.
599      * Switches the audio tracks. */
600     AKEYCODE_MEDIA_AUDIO_TRACK = 222,
601     /** Sleep key.
602      * Puts the device to sleep.  Behaves somewhat like {@link AKEYCODE_POWER} but it
603      * has no effect if the device is already asleep. */
604     AKEYCODE_SLEEP           = 223,
605     /** Wakeup key.
606      * Wakes up the device.  Behaves somewhat like {@link AKEYCODE_POWER} but it
607      * has no effect if the device is already awake. */
608     AKEYCODE_WAKEUP          = 224,
609     /** Pairing key.
610      * Initiates peripheral pairing mode. Useful for pairing remote control
611      * devices or game controllers, especially if no other input mode is
612      * available. */
613     AKEYCODE_PAIRING         = 225,
614     /** Media Top Menu key.
615      * Goes to the top of media menu. */
616     AKEYCODE_MEDIA_TOP_MENU  = 226,
617     /** '11' key. */
618     AKEYCODE_11              = 227,
619     /** '12' key. */
620     AKEYCODE_12              = 228,
621     /** Last Channel key.
622      * Goes to the last viewed channel. */
623     AKEYCODE_LAST_CHANNEL    = 229,
624     /** TV data service key.
625      * Displays data services like weather, sports. */
626     AKEYCODE_TV_DATA_SERVICE = 230,
627     /** Voice Assist key.
628      * Launches the global voice assist activity. Not delivered to applications. */
629     AKEYCODE_VOICE_ASSIST    = 231,
630     /** Radio key.
631      * Toggles TV service / Radio service. */
632     AKEYCODE_TV_RADIO_SERVICE = 232,
633     /** Teletext key.
634      * Displays Teletext service. */
635     AKEYCODE_TV_TELETEXT     = 233,
636     /** Number entry key.
637      * Initiates to enter multi-digit channel nubmber when each digit key is assigned
638      * for selecting separate channel. Corresponds to Number Entry Mode (0x1D) of CEC
639      * User Control Code. */
640     AKEYCODE_TV_NUMBER_ENTRY = 234,
641     /** Analog Terrestrial key.
642      * Switches to analog terrestrial broadcast service. */
643     AKEYCODE_TV_TERRESTRIAL_ANALOG = 235,
644     /** Digital Terrestrial key.
645      * Switches to digital terrestrial broadcast service. */
646     AKEYCODE_TV_TERRESTRIAL_DIGITAL = 236,
647     /** Satellite key.
648      * Switches to digital satellite broadcast service. */
649     AKEYCODE_TV_SATELLITE    = 237,
650     /** BS key.
651      * Switches to BS digital satellite broadcasting service available in Japan. */
652     AKEYCODE_TV_SATELLITE_BS = 238,
653     /** CS key.
654      * Switches to CS digital satellite broadcasting service available in Japan. */
655     AKEYCODE_TV_SATELLITE_CS = 239,
656     /** BS/CS key.
657      * Toggles between BS and CS digital satellite services. */
658     AKEYCODE_TV_SATELLITE_SERVICE = 240,
659     /** Toggle Network key.
660      * Toggles selecting broacast services. */
661     AKEYCODE_TV_NETWORK      = 241,
662     /** Antenna/Cable key.
663      * Toggles broadcast input source between antenna and cable. */
664     AKEYCODE_TV_ANTENNA_CABLE = 242,
665     /** HDMI #1 key.
666      * Switches to HDMI input #1. */
667     AKEYCODE_TV_INPUT_HDMI_1 = 243,
668     /** HDMI #2 key.
669      * Switches to HDMI input #2. */
670     AKEYCODE_TV_INPUT_HDMI_2 = 244,
671     /** HDMI #3 key.
672      * Switches to HDMI input #3. */
673     AKEYCODE_TV_INPUT_HDMI_3 = 245,
674     /** HDMI #4 key.
675      * Switches to HDMI input #4. */
676     AKEYCODE_TV_INPUT_HDMI_4 = 246,
677     /** Composite #1 key.
678      * Switches to composite video input #1. */
679     AKEYCODE_TV_INPUT_COMPOSITE_1 = 247,
680     /** Composite #2 key.
681      * Switches to composite video input #2. */
682     AKEYCODE_TV_INPUT_COMPOSITE_2 = 248,
683     /** Component #1 key.
684      * Switches to component video input #1. */
685     AKEYCODE_TV_INPUT_COMPONENT_1 = 249,
686     /** Component #2 key.
687      * Switches to component video input #2. */
688     AKEYCODE_TV_INPUT_COMPONENT_2 = 250,
689     /** VGA #1 key.
690      * Switches to VGA (analog RGB) input #1. */
691     AKEYCODE_TV_INPUT_VGA_1  = 251,
692     /** Audio description key.
693      * Toggles audio description off / on. */
694     AKEYCODE_TV_AUDIO_DESCRIPTION = 252,
695     /** Audio description mixing volume up key.
696      * Louden audio description volume as compared with normal audio volume. */
697     AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP = 253,
698     /** Audio description mixing volume down key.
699      * Lessen audio description volume as compared with normal audio volume. */
700     AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN = 254,
701     /** Zoom mode key.
702      * Changes Zoom mode (Normal, Full, Zoom, Wide-zoom, etc.) */
703     AKEYCODE_TV_ZOOM_MODE    = 255,
704     /** Contents menu key.
705      * Goes to the title list. Corresponds to Contents Menu (0x0B) of CEC User Control
706      * Code */
707     AKEYCODE_TV_CONTENTS_MENU = 256,
708     /** Media context menu key.
709      * Goes to the context menu of media contents. Corresponds to Media Context-sensitive
710      * Menu (0x11) of CEC User Control Code. */
711     AKEYCODE_TV_MEDIA_CONTEXT_MENU = 257,
712     /** Timer programming key.
713      * Goes to the timer recording menu. Corresponds to Timer Programming (0x54) of
714      * CEC User Control Code. */
715     AKEYCODE_TV_TIMER_PROGRAMMING = 258,
716     /** Help key. */
717     AKEYCODE_HELP            = 259,
718     AKEYCODE_NAVIGATE_PREVIOUS = 260,
719     AKEYCODE_NAVIGATE_NEXT   = 261,
720     AKEYCODE_NAVIGATE_IN     = 262,
721     AKEYCODE_NAVIGATE_OUT    = 263,
722     /** Primary stem key for Wear
723      * Main power/reset button on watch. */
724     AKEYCODE_STEM_PRIMARY = 264,
725     /** Generic stem key 1 for Wear */
726     AKEYCODE_STEM_1 = 265,
727     /** Generic stem key 2 for Wear */
728     AKEYCODE_STEM_2 = 266,
729     /** Generic stem key 3 for Wear */
730     AKEYCODE_STEM_3 = 267,
731     /** Directional Pad Up-Left */
732     AKEYCODE_DPAD_UP_LEFT    = 268,
733     /** Directional Pad Down-Left */
734     AKEYCODE_DPAD_DOWN_LEFT  = 269,
735     /** Directional Pad Up-Right */
736     AKEYCODE_DPAD_UP_RIGHT   = 270,
737     /** Directional Pad Down-Right */
738     AKEYCODE_DPAD_DOWN_RIGHT = 271,
739     /** Skip forward media key */
740     AKEYCODE_MEDIA_SKIP_FORWARD = 272,
741     /** Skip backward media key */
742     AKEYCODE_MEDIA_SKIP_BACKWARD = 273,
743     /** Step forward media key.
744      * Steps media forward one from at a time. */
745     AKEYCODE_MEDIA_STEP_FORWARD = 274,
746     /** Step backward media key.
747      * Steps media backward one from at a time. */
748     AKEYCODE_MEDIA_STEP_BACKWARD = 275,
749     /** Put device to sleep unless a wakelock is held. */
750     AKEYCODE_SOFT_SLEEP = 276,
751     /** Cut key. */
752     AKEYCODE_CUT = 277,
753     /** Copy key. */
754     AKEYCODE_COPY = 278,
755     /** Paste key. */
756     AKEYCODE_PASTE = 279,
757     /** fingerprint navigation key, up. */
758     AKEYCODE_SYSTEM_NAVIGATION_UP = 280,
759     /** fingerprint navigation key, down. */
760     AKEYCODE_SYSTEM_NAVIGATION_DOWN = 281,
761     /** fingerprint navigation key, left. */
762     AKEYCODE_SYSTEM_NAVIGATION_LEFT = 282,
763     /** fingerprint navigation key, right. */
764     AKEYCODE_SYSTEM_NAVIGATION_RIGHT = 283,
765     /** all apps */
766     AKEYCODE_ALL_APPS = 284,
767     /** refresh key */
768     AKEYCODE_REFRESH = 285,
769     /** Thumbs up key. Apps can use this to let user upvote content. */
770     AKEYCODE_THUMBS_UP = 286,
771     /** Thumbs down key. Apps can use this to let user downvote content. */
772     AKEYCODE_THUMBS_DOWN = 287,
773     /** Used to switch current account that is consuming content.
774      * May be consumed by system to switch current viewer profile. */
775     AKEYCODE_PROFILE_SWITCH = 288
776 
777     // NOTE: If you add a new keycode here you must also add it to several other files.
778     //       Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
779 }